package com.ryan.demo.xstream.mas.model.info;

import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

import com.thoughtworks.xstream.annotations.XStreamAsAttribute;


public class TerInfo  extends AbstractInfo {

	/**
	 * sid
	 */
	private static final long serialVersionUID = 4655575802163535129L;
	
	/**
	 * 终端编号
	 */
	@XStreamAsAttribute
	private String terminalId;
	
	/**
	 * 终端类型
	 */
	private String terminalType;
	
	/**
	 * 终端功能类型, 0：标准CNP,1:CP, 2:CNP
	 */
	private String terminalFuncType;
		
	/**
	 * 结算商户编号
	 */
	private String settleMerchantId;
	
	/**
	 * 终端名字
	 */
	private String name;
	
	/**
	 * 省份代码
	 */
	private String provinceCode;
	
	/**
	 * 城市编号
	 */
	private String cityCode;
	
	/**
	 * 终端能力-刷卡器
	 */
	private String capability0;
	
	/**
	 * 终端能力-密码键盘
	 */
	private String capability1;
	
	/**
	 * 终端能力-签购单打印机
	 */
	private String capability2;
	
	/**
	 * 客户端Ip地址
	 */
	private String clientIp;
	
	/**
	 * 交易功能位图-余额查询
	 */
	private String txnTypeMap0;
	
	/**
	 * 交易功能位图-消费
	 */
	private String txnTypeMap1;
	
	/**
	 * 交易功能位图-预授权
	 */
	private String txnTypeMap2;
	
	/**
	 * 交易功能位图-退货
	 */
	private String txnTypeMap3;
	
	/**
	 * 交易功能位图-分期消费
	 */
	private String txnTypeMap4;
	
	/**
	 * 银行卡CNP交易许可标志
	 */
	private String bankCardCnpEnable;
	
	/**
	 * 储值卡CNP交易许可标志
	 */
	private String svcCnpEnable;
	
	/**
	 * 信用卡拒绝标志, 0:否, 1:是
	 */
	private String rejectCardTypeMap;
	
	/**
	 * 业务终端类型
	 */
	private String bizTerminalType;
	
	/**
	 * pos小票名称是否使用终端名
	 */
	private String invoiceName;
	
	/**
	 * 终端扩展功能位图-需要交易回执
	 */
	private String extCapability0;
	
	/**
	 * 终端扩展功能位图-IVR语音支付
	 */
	private String extCapability1;
	
	/**
	 * 终端扩展功能位图-发送MNP通知
	 */
	private String extCapability3;
	
	/**
	 * 终端扩展功能位图-是否能跨终端撤销
	 */
	private String extCapability2;
	
	/**
	 * 主叫号码
	 */
	private String callNo;

	

	/**
	 * @return the terminalId
	 */
	public String getTerminalId() {
		return terminalId;
	}



	/**
	 * @param terminalId the terminalId to set
	 */
	public void setTerminalId(String terminalId) {
		this.terminalId = terminalId;
	}



	/**
	 * @return the terminalType
	 */
	public String getTerminalType() {
		return terminalType;
	}



	/**
	 * @param terminalType the terminalType to set
	 */
	public void setTerminalType(String terminalType) {
		this.terminalType = terminalType;
	}



	/**
	 * @return the terminalFuncType
	 */
	public String getTerminalFuncType() {
		return terminalFuncType;
	}



	/**
	 * @param terminalFuncType the terminalFuncType to set
	 */
	public void setTerminalFuncType(String terminalFuncType) {
		this.terminalFuncType = terminalFuncType;
	}



	/**
	 * @return the settleMerchantId
	 */
	public String getSettleMerchantId() {
		return settleMerchantId;
	}



	/**
	 * @param settleMerchantId the settleMerchantId to set
	 */
	public void setSettleMerchantId(String settleMerchantId) {
		this.settleMerchantId = settleMerchantId;
	}



	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}



	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}



	/**
	 * @return the provinceCode
	 */
	public String getProvinceCode() {
		return provinceCode;
	}



	/**
	 * @param provinceCode the provinceCode to set
	 */
	public void setProvinceCode(String provinceCode) {
		this.provinceCode = provinceCode;
	}



	/**
	 * @return the cityCode
	 */
	public String getCityCode() {
		return cityCode;
	}



	/**
	 * @param cityCode the cityCode to set
	 */
	public void setCityCode(String cityCode) {
		this.cityCode = cityCode;
	}



	/**
	 * @return the capability0
	 */
	public String getCapability0() {
		return capability0;
	}



	/**
	 * @param capability0 the capability0 to set
	 */
	public void setCapability0(String capability0) {
		this.capability0 = capability0;
	}



	/**
	 * @return the capability1
	 */
	public String getCapability1() {
		return capability1;
	}



	/**
	 * @param capability1 the capability1 to set
	 */
	public void setCapability1(String capability1) {
		this.capability1 = capability1;
	}



	/**
	 * @return the capability2
	 */
	public String getCapability2() {
		return capability2;
	}



	/**
	 * @param capability2 the capability2 to set
	 */
	public void setCapability2(String capability2) {
		this.capability2 = capability2;
	}



	/**
	 * @return the clientIp
	 */
	public String getClientIp() {
		return clientIp;
	}



	/**
	 * @param clientIp the clientIp to set
	 */
	public void setClientIp(String clientIp) {
		this.clientIp = clientIp;
	}



	/**
	 * @return the txnTypeMap0
	 */
	public String getTxnTypeMap0() {
		return txnTypeMap0;
	}



	/**
	 * @param txnTypeMap0 the txnTypeMap0 to set
	 */
	public void setTxnTypeMap0(String txnTypeMap0) {
		this.txnTypeMap0 = txnTypeMap0;
	}



	/**
	 * @return the txnTypeMap1
	 */
	public String getTxnTypeMap1() {
		return txnTypeMap1;
	}



	/**
	 * @param txnTypeMap1 the txnTypeMap1 to set
	 */
	public void setTxnTypeMap1(String txnTypeMap1) {
		this.txnTypeMap1 = txnTypeMap1;
	}



	/**
	 * @return the txnTypeMap2
	 */
	public String getTxnTypeMap2() {
		return txnTypeMap2;
	}



	/**
	 * @param txnTypeMap2 the txnTypeMap2 to set
	 */
	public void setTxnTypeMap2(String txnTypeMap2) {
		this.txnTypeMap2 = txnTypeMap2;
	}



	/**
	 * @return the txnTypeMap3
	 */
	public String getTxnTypeMap3() {
		return txnTypeMap3;
	}



	/**
	 * @param txnTypeMap3 the txnTypeMap3 to set
	 */
	public void setTxnTypeMap3(String txnTypeMap3) {
		this.txnTypeMap3 = txnTypeMap3;
	}



	/**
	 * @return the txnTypeMap4
	 */
	public String getTxnTypeMap4() {
		return txnTypeMap4;
	}



	/**
	 * @param txnTypeMap4 the txnTypeMap4 to set
	 */
	public void setTxnTypeMap4(String txnTypeMap4) {
		this.txnTypeMap4 = txnTypeMap4;
	}



	/**
	 * @return the bankCardCnpEnable
	 */
	public String getBankCardCnpEnable() {
		return bankCardCnpEnable;
	}



	/**
	 * @param bankCardCnpEnable the bankCardCnpEnable to set
	 */
	public void setBankCardCnpEnable(String bankCardCnpEnable) {
		this.bankCardCnpEnable = bankCardCnpEnable;
	}



	/**
	 * @return the svcCnpEnable
	 */
	public String getSvcCnpEnable() {
		return svcCnpEnable;
	}



	/**
	 * @param svcCnpEnable the svcCnpEnable to set
	 */
	public void setSvcCnpEnable(String svcCnpEnable) {
		this.svcCnpEnable = svcCnpEnable;
	}



	/**
	 * @return the rejectCardTypeMap
	 */
	public String getRejectCardTypeMap() {
		return rejectCardTypeMap;
	}



	/**
	 * @param rejectCardTypeMap the rejectCardTypeMap to set
	 */
	public void setRejectCardTypeMap(String rejectCardTypeMap) {
		this.rejectCardTypeMap = rejectCardTypeMap;
	}



	/**
	 * @return the bizTerminalType
	 */
	public String getBizTerminalType() {
		return bizTerminalType;
	}



	/**
	 * @param bizTerminalType the bizTerminalType to set
	 */
	public void setBizTerminalType(String bizTerminalType) {
		this.bizTerminalType = bizTerminalType;
	}



	/**
	 * @return the invoiceName
	 */
	public String getInvoiceName() {
		return invoiceName;
	}



	/**
	 * @param invoiceName the invoiceName to set
	 */
	public void setInvoiceName(String invoiceName) {
		this.invoiceName = invoiceName;
	}



	/**
	 * @return the extCapability0
	 */
	public String getExtCapability0() {
		return extCapability0;
	}



	/**
	 * @param extCapability0 the extCapability0 to set
	 */
	public void setExtCapability0(String extCapability0) {
		this.extCapability0 = extCapability0;
	}


	/**
	 * @return the extCapability3
	 */
	public String getExtCapability3() {
		return extCapability3;
	}



	/**
	 * @param extCapability3 the extCapability3 to set
	 */
	public void setExtCapability3(String extCapability3) {
		this.extCapability3 = extCapability3;
	}



	/**
	 * @return the extCapability2
	 */
	public String getExtCapability2() {
		return extCapability2;
	}



	/**
	 * @param extCapability2 the extCapability2 to set
	 */
	public void setExtCapability2(String extCapability2) {
		this.extCapability2 = extCapability2;
	}



	/**
	 * @return the callNo
	 */
	public String getCallNo() {
		return callNo;
	}


	/**
	 * @param callNo the callNo to set
	 */
	public void setCallNo(String callNo) {
		this.callNo = callNo;
	}

	/**
	 * @return the extCapability1
	 */
	public String getExtCapability1() {
		return extCapability1;
	}



	/**
	 * @param extCapability1 the extCapability1 to set
	 */
	public void setExtCapability1(String extCapability1) {
		this.extCapability1 = extCapability1;
	}



	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this, ToStringStyle.DEFAULT_STYLE);
	}
	

}
